SureCart\Rest\RestServiceProvider S

Total Complexity 34
Dependencies 4
Dependents 0
Total lines 317
Lines of code 137
Logical lines of code 42
Comment lines 141
Methods 15
Properties 6

Methods 15

Method Rating Maintainability Complexity Lines of code
registerModelRoutes()
A
44 8 51
callback()
A
52 8 22
get_item_schema()
S
56 2 19
hasAnyMethods()
S
68 3 8
requestOnlyHasKeys()
S
64 3 9
register()
S
91 1 2
bootstrap()
S
79 1 3
hasMethod()
S
79 1 3
registerRoutes()
S
91 1 2
get_collection_params()
S
82 1 3
get_item_permissions_check()
S
82 1 3
get_items_permissions_check()
S
82 1 3
create_item_permissions_check()
S
82 1 3
update_item_permissions_check()
S
82 1 3
delete_item_permissions_check()
S
82 1 3